cc.Class({
    extends: cc.Component,

    properties: {
        levelPrefabs: {
            default: [],
            type: cc.Prefab,
        }
    },

    // LIFE-CYCLE CALLBACKS:

    onLoad () {
        // init first level
        let level = cc.instantiate(this.levelPrefabs[0]);
        level.parent = this.node;
    },

    start () {

    },

    // update (dt) {},
});
